import java.util.Enumeration;
import javax.servlet.http.HttpServletRequest;

public class MoneyBean extends CommonBean {
	
	private static final long serialVersionUID = 1L;

	public MoneyBean()   {
		System.out.println("MoneyBean()");
	}
	
   @SuppressWarnings("unchecked")
   public void populate(HttpServletRequest request)
   {
     System.out.println("MoneyBean.populate()");
     Enumeration enumeration = request.getParameterNames();
     if (enumeration != null)
     {
       while (enumeration.hasMoreElements())
       {
         String paramName = (String)enumeration.nextElement();
         String paramValue = request.getParameter(paramName);
         paramValue = paramValue.trim();
         put(paramName, paramValue);
       }
     }
     System.out.println("MoneyBean.populate(): "+this);
   }
	
   public String toString() {
	   return super.toString();
   }

}
